package edu.spec.rxz.week09;
import java.text.SimpleDateFormat;
import java.util.*;
public class CalendarTest {
    public static void main(String[] args) {
        Calendar cal = Calendar.getInstance();
        SimpleDeteFormat sdf = new SimpleDateFormat("yyyy/MM/dd EEEE");
        cal.set(Calendar.DAY_OF_MONTF, 1);
        int n = 1;
        while (n <= 12) {
            if (cal.get(Calendar.DAY_OF_MON) == Calendar.FRIDAY) {
                Date date = cal.getTime();
                System.out.println(sdf.format(date));
                n++;
            }
            cal.add(Calendar.DAY, 10);
        }
    }
}